$OpenBSD: patch-content_renderer_renderer_main_platform_delegate_linux_cc,v 1.14 2016/04/16 19:08:46 robert Exp $
--- content/renderer/renderer_main_platform_delegate_linux.cc.orig.port	Fri Apr  8 18:02:09 2016
+++ content/renderer/renderer_main_platform_delegate_linux.cc	Thu Apr 14 08:25:12 2016
@@ -10,7 +10,11 @@
 #include "base/command_line.h"
 #include "base/files/file_util.h"
 #include "base/logging.h"
+#if defined(OS_OPENBSD)
+#include "content/common/sandbox_init_openbsd.h"
+#else
 #include "content/common/sandbox_linux/sandbox_linux.h"
+#endif
 #include "content/public/common/content_switches.h"
 #include "content/public/common/sandbox_init.h"
 
@@ -33,6 +37,9 @@ bool RendererMainPlatformDelegate::EnableSandbox() {
   // https://chromium.googlesource.com/chromium/src/+/master/docs/linux_suid_sandbox.md
   //
   // Anything else is started in InitializeSandbox().
+#if defined(OS_BSD)
+  InitializeSandbox();
+#else
   LinuxSandbox::InitializeSandbox();
   // about:sandbox uses a value returned from LinuxSandbox::GetStatus() before
   // any renderer has been started.
@@ -59,6 +66,7 @@ bool RendererMainPlatformDelegate::EnableSandbox() {
     CHECK_EQ(errno, EPERM);
   }
 #endif  // __x86_64__
+#endif
 
   return true;
 }
